// 文件路径: ruoyi-nongjt/src/main/java/com/ruoyi/nongjt/mapper/NjtCertificateMapper.java
package com.ruoyi.nongjt.mapper;

import com.ruoyi.nongjt.domain.pojo.NjtCertificate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NjtCertificateMapper {
    /**
     * 查询合格证列表
     */
    List<NjtCertificate> selectNjtCertificate(NjtCertificate certificate);

    /**
     * 根据ID查询合格证
     */
    NjtCertificate selectNjtCertificateById(Long id);

    /**
     * 新增合格证
     */
    int insertNjtCertificate(NjtCertificate certificate);

    /**
     * 修改合格证
     */
    int updateNjtCertificate(NjtCertificate certificate);

    /**
     * 删除合格证
     */
    int deleteNjtCertificate(Long id);
}
